define([
  'jquery'
], function ($) {
  $(".tuichu").on("tap", function () {
    var btnArray = ['取消', '确认'];
    mui.confirm("是否确认退出", " ", btnArray, function (e) {
      if (e.index == 1) {
        window.location.href = "/AppHome/index/logout"
      }
    })
  })

  $(".index").on("tap",function () { 
    window.location.href = "/AppHome/index"
   })

});